-- GENERATED SPELL FOR [Kil'sorrow Deathsworn] --


function spell0_17148(pUnit, Event) --@Bloodthirst,n/a--
pUnit:FullCastSpellOnTarget(31996,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17148', 0, 1)
end

function Sorts_17148(pUnit, Event)
local choix_sorts_17148 = math.random(0, 0)
if choix_sorts_17148 == 0 then
pUnit:RegisterEvent('spell0_17148', 1, 1)
end
end

function mob17148_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17148', math.random(1500, 3000), 1)
end

function mob17148_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17148_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17148_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17148, 1, 'mob17148_Action')
RegisterUnitEvent(17148, 2, 'mob17148_Leave')
RegisterUnitEvent(17148, 3, 'mob17148_Kill')
RegisterUnitEvent(17148, 4, 'mob17148_Die')
